package com.sl.au.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 信息传递中间表
 * 
 * 
 * @author sinser
 **/
@Entity
@Table(name = "sl_crm_chanceDeliveryTemp")
public class ChanceDeliveryTemp extends Root {
	/**
	 * 信息类型 1:协助信息 0：本部信息 2:传递信息
	 **/
	@Column(name = "nChanceType")
	private int chanceType;

	/**
	 * 是否已接收
	 **/
	@Column(name = "nIsReceived")
	private int isReceived;

	/**
	 * 接收部门
	 * 
	 **/
	@Column(name = "sReceiveSuperior")
	private String receiveSuperior;

	/** SaleChance_id */
	@ManyToOne
	@JoinColumn(unique = false)
	private Chance saleChance;

	public int getChanceType() {
		return chanceType;
	}

	public void setChanceType(int chanceType) {
		this.chanceType = chanceType;
	}

	public int getIsReceived() {
		return isReceived;
	}

	public void setIsReceived(int isReceived) {
		this.isReceived = isReceived;
	}

	public String getReceiveSuperior() {
		return receiveSuperior;
	}

	public void setReceiveSuperior(String receiveSuperior) {
		this.receiveSuperior = receiveSuperior;
	}

	public Chance getSaleChance() {
		return saleChance;
	}

	public void setSaleChance(Chance saleChance) {
		this.saleChance = saleChance;
	}

}
